home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-05 / cheaplnk.zip / CHEAPLNK.DOC < prev    next >
Text File  |  1989-12-22  |  7KB  |  149 lines

  1. CHEAPLINK - V1.11 - 27 Apr 89  -- Zero slot Network written by EM - Hong Kong
  2.  
  3. Performance: 18 s to transfer 64k.
  4.  
  5. Installation:
  6.  
  7. On the Server:
  8.    in Autoexec.bat:     SRV $nn1/dd1 [$nn2/dd2...] [UNITS:abc...]
  9.  
  10. On each Workstation:
  11.    in Config.sys:       DEVICE = WKS $nnn/ddd @n
  12.  
  13. Notes:
  14.  
  15.    nnx    = port base address in DECIMAL notation (COM1 = 1016; COM2 = 760).
  16.    ddx    = baud rate divisor (1 = 115,200 bps; 2 = 57,600 bps...).
  17.    abc... = disk units on the server made available to the workstations
  18.             (omitting this option implies "all").
  19.    n      = number of available server drives accessed by the workstation.
  20.  
  21. *- example            srv $1016/1 efg
  22. *-              device = wks.sys $1016/1 @3
  23. *-
  24. *- selects com1 on both machines
  25. *-         maximum baudrate
  26. *-         drives A: B: and C: on server become E: F: and G: on wkstation
  27. *-         workstation accesses 3 drives
  28. *-
  29.  
  30. No interrupts are used on the I/O ports.
  31. The serial cable is a limited EIA (3-wires) null modem (rx to tx, tx to rx,
  32. ground to ground).
  33.   for 25 pin connectors: tx = pin 2; rx = pin 3, ground = pin 7;
  34.   for  9 pin connectors: tx = pin 3; rx = pin 2, ground = pin 5).
  35. The server may handle up to 15 satellite workstations, connected to
  36. different serial ports.
  37. The server driver is a TSR utility working in background; yet, it eats up
  38. only less than 5 kbytes.
  39. The LPT1 of every satellite workstation is redirected on the server's LPT1;
  40. the other printers are unaffected.
  41.  
  42.  
  43. Technical details:
  44.  
  45. The satellite workstation software driver (wks.sys) reroutes all the
  46. requests to the remote server, via a serial line up to 115,200 bps.
  47. The server driver SRV.COM is activated by a numer of interrupts: namely,
  48. Dos Idle (28h), Timer Tick (08h), Hw Keyboard (09h) and Keyboard Bios
  49. Services (16h). It also hooks to the Disk Bios Services (13h), but only
  50. to set a flag when the foreground programs are acceding to the disks
  51. (the local disk I/O is achieved through direct FAR calls to the local
  52. block device drivers).
  53.  
  54. Every time someone (server or workstations) do any write on a shared unit,
  55. a system of flags is set to signal that the disk content has changed and
  56. the buffers should be flushed. For this purpose, the device driver returns
  57. a "maybe media has changed" status. That's easy on the workstation; on
  58. the server it has required wild patches in the DOS, automatically
  59. operated by SRV.COM during the installation (shortly, SRV replaces the
  60. existing device drivers patching every reference to their far address
  61. found between 70:0 and 70:ffff. With DOS 3.30 it seems to work, but I'm not
  62. sure what's going to happen in the future releases. Unfortunately, to
  63. insert the modified driver in the linked list isn't enough, because
  64. the DOS also copies the block device driver addresses in undocumented
  65. places).
  66.  
  67. As no serial input interrupts are used, the only way to protect against
  68. overrun errors is to wait, after every character output, for an acknowledge
  69. from the other side (in form of plain echo). That's done from both the
  70. sides of the serial link. The bad new is, this degrades the performances
  71. by a factor of at least two (but... a la guerre comme a la guerre).
  72. In return, the communication is very safe, being protected by a
  73. triple mechanism: (odd) parity, echo and checksum on block transfers. This
  74. is of paramount importance, as bad data transfers could disrupt the disk
  75. structures and perhaps trash the disk.
  76. Any communication error results in a disk error message on the workstation
  77. (followed by the notorious "Abort, Retry, Fail?" or equivalent). As far
  78. as I know, a "R"etry always successfully recovers the operations - provided
  79. that the error was oly temporary, of course: no "R"etry will push the bits
  80. over a cut in the cable!
  81.  
  82. As TSR, SRV.COM is very well-behaved, but possibly some foreground applications
  83. are not. For example, Framework III makes a mess slowing the tick rate
  84. down to 1 per second, and never uses INT 16h (it plays directly with the
  85. keyboard buffer instead). That means that if the server is running that
  86. application, some activities such as the nework printing are greatly slowed
  87. down. Unidentified troubles also arise when the server runs MS-Windows.
  88. Many tricks have been used to overcome the non-reentrancy of
  89. DOS and BIOS code. As far as I know, under normal conditions the system
  90. never crashes.
  91.  
  92. Credits:
  93.  
  94. This program is based on Weaklink, a shareware product from Don Jindra
  95. (Information Modes).
  96. Some ideas came from the host of commercially available zero-slot LAN's
  97. (such LanLink, Laplink, Brooklin Bridge etc.)
  98.  
  99. Have fun -- EM
  100.  
  101.          ----------------end-of-author's-documentation---------------
  102.  
  103.                          Software Library Information:
  104.  
  105.                     This disk copy provided as a service of
  106.  
  107.                            Public (software) Library
  108.  
  109.          We are not the authors of this program, nor are we associated
  110.          with the author in any way other than as a distributor of the
  111.          program in accordance with the author's terms of distribution.
  112.  
  113.          Please direct shareware payments and specific questions about
  114.          this program to the author of the program, whose name appears
  115.          elsewhere in  this documentation. If you have trouble getting
  116.          in touch with the author,  we will do whatever we can to help
  117.          you with your questions. All programs have been tested and do
  118.          run.  To report problems,  please use the form that is in the
  119.          file PROBLEM.DOC on many of our disks or in other written for-
  120.          mat with screen printouts, if possible.  PsL cannot debug pro-
  121.          programs over the telephone, though we can answer questions.
  122.  
  123.          Disks in the PsL are updated  monthly,  so if you did not get
  124.          this disk directly from the PsL, you should be aware that the
  125.          files in this set may no longer be the current versions. Also,
  126.          if you got this disk from another vendor and are having prob-
  127.          lems,  be aware that  some files may have become corrupted or
  128.          lost by that vendor. Get a current, working disk from PsL.
  129.  
  130.          For a copy of the latest monthly software library newsletter
  131.          and a list of the 3,000+ disks in the library, call or write
  132.  
  133.                            Public (software) Library
  134.                                P.O.Box 35705 - F
  135.                             Houston, TX 77235-5705
  136.  
  137.                                  Orders only:
  138.                                 1-800-2424-PSL
  139.                               MC/Visa/AmEx/Discover
  140.  
  141.                           Outside of U.S. or in Texas
  142.                           or for general information,
  143.                               Call 1-713-524-6394
  144.  
  145.                           PsL also has an outstanding
  146.                           catalog for the Macintosh.
  147.  
  148.  
  149.